package com.bwie.demo;

/**
 * day11
 *
 * @author LQ&LYP lq
 * @ClassName Dog
 * @description: TODO
 * @date 2025年03月05日
 * @version: 1.0
 */
public class Dog   extends   Pet{

    public     void   police(){
        System.out.println("警戒");
    }

    @Override
    public void eat() {
        System.out.println("吃骨头");
    }

    @Override
    public void drink() {
        System.out.println("喝水");
    }

    @Override
    public void shout() {
        System.out.println("汪汪叫");
    }
}
